<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>user</title>
    <link rel='stylesheet' href='http://netdna.bootstrapcdn.com/bootstrap/3.0.2/css/bootstrap.min.css'>
</head>
<body class="container">
<br/>
<h1>修改</h1>
<br/><br/>
<div class="with:80%">
    <form class="form-horizontal"   th:action="@{/hero/update}" th:object="${hero}"  method="post">
        <input type="hidden" name="id" th:value="*{id}" />
        <div class="form-group">
            <label for="name" class="col-sm-2 control-label">客户名称</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="name" th:value="*{name}" id="name" placeholder="name"/>
            </div>
        </div>
        <div class="form-group">
            <label for="sex" class="col-sm-2 control-label" >性别</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="sex" th:value="*{sex}" id="sex" placeholder="sex"/>
            </div>
        </div>
        <div class="form-group">
            <label for="height" class="col-sm-2 control-label">身高</label>
            <div class="col-sm-10">
                <input type="text" class="form-control" name="height" th:value="*{height}" id="height" placeholder="height"/>
            </div>
        </div>


        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <input type="submit" value="Submit" class="btn btn-info" />
                &nbsp &nbsp&nbsp
                <a href="/customer/selectList" th:href="@{/hero/selectList}" class="btn btn-info">Back</a>
            </div>

        </div>
    </form>
</div>
</body>
</html>